package com.hundun.hddeal.service;

import com.github.pagehelper.PageInfo;
import com.hundun.hddeal.entity.NextOrder;
import com.hundun.hddeal.entity.NextOrderPuls;
import com.hundun.hddeal.response.Result;
import java.util.Date;


public interface NextOrderService {
    Result deleteByPrimaryKey(Long id);

    Result insertSelective(NextOrder record);

    Result<NextOrder> selectByPrimaryKey(Long id);

    Result updateByPrimaryKeySelective(NextOrder record);

    Result<PageInfo<NextOrderPuls>> selectGetofTask(String adId, String orderId, Integer page, Integer size,String type,Byte status,String gzhName,String order);

    Result<PageInfo<NextOrder>> selectMtofTask(String mtId, Byte status, String gzhName,
                                   Date startTime, Date endTime,Integer page, Integer size,String type,String hostId,String order);

    Result<PageInfo<NextOrder>> mtHostList(String mtId, String hostId,
                               Date startTime, Date endTime,Integer page, Integer size,String type);//查询媒体主id集合


}
